from django.db import models

# Create your models here.


class History(models.Model):
    """
    历史记录
    """
    time = models.DateField(verbose_name='历史记录时间')
    history_content = models.TextField(max_length=500,verbose_name='历史记录内容')
    
    class Meta:
        db_table = 'history'
        verbose_name = '历史记录'
        verbose_name_plural = verbose_name
        
    def __str__(self):
        return self.history_content
    